package com.imut.onlinebanking.dealings.service;

import com.imut.onlinebanking.dealings.entity.Account;
import com.imut.onlinebanking.dealings.entity.Records;
import com.imut.onlinebanking.dealings.mapper.RecordsMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class RecordsService {

    @Autowired
    private RecordsMapper recordsMapper;

    public List<Account> getAllWithdrawRecords() {
        return recordsMapper.getAllWithdrawRecords();
    }
}
